package com.laicunba.service.fuiou;

public interface FuiouOrderQueryService {
	class QueryResult {
		private String rcd;
		private String rdesc;
		private String sign;

		/**
		 * 支付成功
		 * 
		 * @return
		 */
		public boolean isPayedSuccess() {
			return "5185".equals(rcd);
		}

		public String getRcd() {
			return rcd;
		}

		public String getRdesc() {
			return rdesc;
		}

		public String getSign() {
			return sign;
		}

		public void setRcd(String rcd) {
			this.rcd = rcd;
		}

		public void setRdesc(String rdesc) {
			this.rdesc = rdesc;
		}

		public void setSign(String sign) {
			this.sign = sign;
		}

	}

	QueryResult query(String orderId);
}
